/*	TGApplicationController.h
 *	Part of ThinkGeek LED Clock
 *	http://tmorgan.shutupgeorge.com/thinkgeek/
 *
 * Copyright (c)2003-2006 Tim Morgan. All rights reserved. Please visit
 * http://tmorgan.shutupgeorge.com/other/license.html for more information about
 * your rights and responsibilities regarding this source code.
 */

#import <Cocoa/Cocoa.h>

/**
 * Handles application events, primarily menu item selections. Methods in this
 * class are dispatched by the nib code when certain application events occur.
 *
 * @author Tim Morgan
 */

@interface TGApplicationController : NSObject {
    IBOutlet NSWindow *aboutWindow;
	IBOutlet NSTextField *versionField;
}

/**
 * Called when the "About ThinkGeek LED Clock" menu item is selected from the
 * application menu. Displays the About window.
 *
 * @param sender the object that invoked this method
 */

- (IBAction)aboutMenuItemSelected:(id)sender;

/**
 * Called when the "ThinkGeek LED Clock Help" menu item is selected from the
 * Help menu. Displays information on how to use the program using the standard
 * help library.
 *
 * @param sender the object that invoked this method
 */

- (IBAction)helpMenuItemSelected:(id)sender;

/**
 * Called when the "Preferences..." menu item is selected from the application
 * menu. Displays the preferences window.
 *
 * @param sender the object that invoked this method
 */

- (IBAction)preferencesMenuItemSelected:(id)sender;

@end
